Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Summary list changes #1971

Merged
merged 3 commits into from
Mar 15, 2021
Merged

Summary list changes #1971

merged 3 commits into from
Mar 15, 2021

Conversation

andysellick
Copy link
Contributor

What

Does the following:

  • adds an option to remove the visually hidden span the component automatically adds into link text, containing the row or overall name
  • adds an option for a wider layout for the field name

Why

The first change is because I have a situation where the text doesn't work for the default behaviour. The text would be Change GOV.UK can send you feedback emails - which doesn't make sense. Instead I'd like to be able to pass custom text without the component automatically appending visually hidden text that doesn't make sense.

The second change is because again the text I need to put in the component doesn't look great with the current layout.

Visual Changes

No change for the first change, new layout option looks like this.

Screenshot 2021-03-11 at 12 18 55

Trello card: https://trello.com/c/lNkwruEi/647-fix-accessibility-issues-raised-by-dac

- adds an option to remove the visually hidden text that is automatically added to links in the component
@bevanloon bevanloon temporarily deployed to govuk-publis-summary-li-swkpjn March 11, 2021 12:23 Inactive
@andysellick andysellick requested a review from danacotoran March 11, 2021 12:24
@bevanloon bevanloon temporarily deployed to govuk-publis-summary-li-swkpjn March 11, 2021 12:24 Inactive
@danacotoran
Copy link
Contributor

@andysellick The wide title layout changes look good to me, however I am still confused as to why there is a need for both the custom title, and the custom hidden text option on the links.

I might be missing something obvious here, it would be good to have a conversation about it when you're around.

Copy link
Contributor

@danacotoran danacotoran left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM :)

@andysellick andysellick merged commit 9c8369c into master Mar 15, 2021
@andysellick andysellick deleted the summary-list-changes branch March 15, 2021 10:13
@andysellick andysellick mentioned this pull request Mar 15, 2021
This was referenced Mar 16, 2021
This was referenced Mar 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants